home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ROM Magic
/
ROM Magic.iso
/
pc
/
data_11
/
akna.dir
/
00063_Script_63
< prev
next >
Wrap
Text File
|
1995-01-18
|
807b
|
31 lines
on enlargement
global frag, myV, myHo, myW, myHi, myL, myT
puppetSprite 11, true
put (320-myHo)*2+320 into newHo
put (225-myV)*2+225 into newW
put newHo
if newHo < (640-myW) then put (640-myW) into newHo
if newHo > myW then put myW into newHo
put newHo
set the locH of sprite 11 = newHo
put newW
if newW < (480-myHi) then put (480-myHi) into newW
if newW > myHi then put myHi into newW
put newW
set the locV of sprite 11 = newW
set the height of sprite 11 = myHi*2
set the width of sprite 11 = myW*2
updateStage
put 1 into frag
end enlargement
on small
global frag, myV, myHo, myW, myHi, myL, myT
set the height of sprite 11 = myHi
set the width of sprite 11 = myW
updateStage
put 0 into frag
puppetSprite 11, false
end small